package lhdx2;

public class Yuan {
     double r;
     String zuoB;
     double length;
     double area;
    double pi= 3.14;
     public double yuanLength(){
         return length=pi*r*2;
     }
     public double yuanArea(){
         return area=pi*r*r;
     }

}
